package org.example.pims;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.PostConstruct;
import java.util.TimeZone;

/**
 * Description：后台服务的启动主类
 *
 * @author bothin
 */
@SpringBootApplication(scanBasePackages="org.example")
public class PimsAdminApplication {

    @PostConstruct
    void started() {
        TimeZone.setDefault(TimeZone.getTimeZone("GMT+8"));
    }

    public static void main(String[] args) {
        SpringApplication.run(PimsAdminApplication.class,args);
    }

}
